home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14877 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: line030.nwm.mindlink.net!user
  2. From: emery@grebyn.com (David Emery)
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
  4. Subject: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
  5. Date: 2 Apr 1996 14:54:29 GMT
  6. Organization: MIND LINK! - British Columbia, Canada
  7. Message-ID: <emery-0204960656230001@line030.nwm.mindlink.net>
  8. References: <JSA.96Feb16135027@organon.com> <31582A63.4BE9@east.thomsoft.com> <4jeel1$erh@tpd.dsccc.com> <JSA.96Mar29195546@organon.com> <4jp388$d56@tpd.dsccc.com> <828445854snz@genesis.demon.co.uk>
  9. NNTP-Posting-Host: line030.nwm.mindlink.net
  10.  
  11. In article <828445854snz@genesis.demon.co.uk>, fred@genesis.demon.co.uk wrote:
  12.  
  13. > ANSI C doesn't define UNIX OS calls so isn't really relevant to your point.
  14. > Unix calls are reasonably standardised for C through the likes of POSIX and
  15. > X/Open which is natural because C is the core development language for
  16. > the platform.
  17. > -- 
  18. > -----------------------------------------
  19. > Lawrence Kirby | fred@genesis.demon.co.uk
  20. > Wilts, England | 70734.126@compuserve.com
  21. > -----------------------------------------
  22.  
  23. This is not exactly true.  The POSIX.1 standard make extensive use of
  24. facilities in the ANSI C standard.  Chapter 2 contains a list of library
  25. calls of ANSI C "included" in POSIX (e.g. malloc(), while Chapter 8 
  26. contains C-specific facilities, that refine the behavior of some ANSI 
  27. C library routines such as file stream IO.
  28.  
  29.             dave
  30.